<html lang="en" xmlns:wicket="http://wicket.apache.org/dtds.data/wicket-xhtml1.4-strict.dtd">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
</head>

<body>
  <wicket:extend>
    <script wicket:id="showDeleteQuestionDialog" type="text/javascript">
        function showDeleteQuestionDialog() {
            return window.confirm("Delete...?");
        }
    </script>

    <div class="tabbable">
      <ul class="nav nav-tabs">
        <li class="active"><a href="#editform" data-toggle="tab"><span wicket:id="tabTitle">[Edit item]</span></a></li>
        <li><a href="#history" data-toggle="tab"><wicket:message key="label.historyOfChanges" /></a></li>
      </ul>
    </div>

    <div class="tab-content">

      <!-- editform -->
      <div id="editform" class="tab-pane active">
        <form wicket:id="form" autocomplete="off">
          <div wicket:id="feedback"></div>

          <wicket:container wicket:id="flowform">[the form fields]</wicket:container>
          <wicket:child />
          <div class="button_bar">
            <wicket:container wicket:id="buttons">[action buttons]</wicket:container>
          </div>
          <input type="hidden" wicket:id="csrfToken" />
        </form>
      </div>

      <!-- history -->
      <div id="history" class="tab-pane">
        <div class="row">
          <div class="span6">
            <fieldset>
              <label><wicket:message key="timeOfLastUpdate" /></label>
              <div>
                <wicket:container wicket:id="timeOfLastUpdate">[08.10.2009 13:27:02]</wicket:container>
              </div>
            </fieldset>
          </div>
          <div class="span6">
            <fieldset>
              <label><wicket:message key="timeOfCreation" /></label>
              <div>
                <wicket:container wicket:id="timeOfCreation">[08.10.2009 13:27:02]</wicket:container>
              </div>
            </fieldset>
          </div>
        </div>
        <table class="dataview" wicket:id="historyTable">
          <tr>
            <td>[history table]</td>
          </tr>
        </table>
      </div>

      </div>
  </wicket:extend>
</body>
</html>